package com.xcjh.controller;

import com.xcjh.base.dto.Result;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Package: com.xcjh.domain.User
 * @Description: <前端控制器>
 * @Author: 
 * @CreateDate: 2021-11-08
 * @UpdateUser: 
 * @UpdateDate: 2021-11-08
 * @UpdateRemark: <>
 * @Version: 1.0
 */
@RestController
@RequestMapping(value = "User")
public class UserController {

    private static final Logger logger=LoggerFactory.getLogger(UserController.class);


    @GetMapping("/test")
    public Result<Integer> test(Integer id){
        return Result.success(id);
    }


}
